import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { ProductShopQuery, ProductShopVO } from './types';

/**
 * 查询产品超市列表
 * @param query
 */
export const productShopList = (query: ProductShopQuery): AxiosPromise<ProductShopVO[]> => {
  return request({
    url: '/payment/proInfo/list',
    method: 'get',
    params: query
  });
};

export default {
  productShopList,
};
